/*
 * @Author: ruins
 * @Date: 2022-01-17 09:59:05
 * @LastEditors: ruins
 * @LastEditTime: 2022-01-21 11:40:31
 * @FilePath: \white-dragon\src\main.js
 */
import Vue from 'vue'
import ElemntUi from 'element-ui'
import App from './App.vue'
import router from './router'
import store from './store'
import * as filter from '@/filter'
import VueQuillEditor from 'vue-quill-editor'
import 'element-ui/lib/theme-chalk/index.css'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import Component from '@/components'
import htmlToPdf from '@/utils/pdf/pdf.js'
Vue.use(ElemntUi)
Vue.use(VueQuillEditor)
Vue.use(Component)
Vue.use(htmlToPdf)
Object.keys(filter).forEach(key => {
  Vue.filter(key, filter[key])
})

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
